package cn.stylefeng.guns.modular.business.frequency.transport.model.result;


import cn.stylefeng.guns.modular.business.frequency.transportleveldetail.entity.TransportLevelDetail;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Description:
 * @Author jzy
 * @Date 2020/10/20 0020
 **/
@Data
public class TransportLevelVO {

    private Long id;

    @ApiModelProperty("发运id")
    private Long transportId;

    @ApiModelProperty("交车方式 1.网点 2.直交")
    private Integer type;

    @ApiModelProperty("是否有网点")
    private Integer hasSite;

    @ApiModelProperty("网点id")
    private Long siteId;

    private String siteName;

    @ApiModelProperty("中转城市")
    private String transferCityCode;

    @ApiModelProperty("代收费用")
    private BigDecimal collectionFee;

    @ApiModelProperty("应付司机费用")
    private BigDecimal driverFee;

    @ApiModelProperty("接车人")
    private String receiveUser;

    @ApiModelProperty("接车人电话")
    private String receivePhone;

    //结算人名称
    private String SettlementName;
    //结算人id
    private Long SettlementId;
    //结算人手机号
    private String SettlementPhone;

    @ApiModelProperty("接车地址")
    private String receiveAddress;

    //1 公司垫付 2 网点垫付
    @ApiModelProperty("结算方式")
    private Integer settlementType;

    /** 是否预留板位分段 1.是 0.否 */
    @ApiModelProperty("是否预留板位分段 1.是 0.否")
    private Integer reserved;

    private String fileUrl;

    @ApiModelProperty("预留板位车辆数量")
    private Integer reservedCarNum;

    /** 发运分段的详细信息 */
    @ApiModelProperty("分段信息List")
    private List<TransportLevelDetail> transportLevelDetailList;

    @ApiModelProperty("分段到付金额之和")
    private BigDecimal totalDeliverPayFee;
    @ApiModelProperty("分段承运费之和")
    private BigDecimal totalCost;

    private String createUserName;
    private Date createTime;
}
